package org.example.reflect;

import org.example.reflect.annotation.*;

@MyAnnotation("Hello")
public class ExampleClass {

    @MyFieldAnnotation("Field Value")
    private String myField;

    public ExampleClass() {}

    @MyConstructorAnnotation("Constructor Value")
    public ExampleClass(String field) {
        this.myField = field;
    }

    @MyMethodAnnotation("Method Value")
    public String myMethod(@MyParameterAnnotation("Parameter Value") String param) {
        return "Method called with: " + param;
    }

    public String getMyField() {
        return myField;
    }

    public void setMyField(String myField) {
        this.myField = myField;
    }

}